﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Windows.Forms;
using Pahan.McuFusion.Common;
using Pahan.McuFusion.UI.RecentFiles;

namespace Pahan.McuFusion.UI.Controls
{
    public class RecentWorkspaceItem : RibbonOrbRecentItem
    {
        public RecentWorkspaceItem(RecentFile file)
        {
            Assert.NotNull(file, "file");
            this.File = file;
            this.Text = Path.GetFileName(file.Path);
            this.ToolTip = file.Path;
        }

        public RecentFile File
        {
            get;
            private set;
        }
    }
}
